package com.ciquan.server.dao;

import com.ciquan.server.bean.SysMessage;

import java.util.List;
import java.util.Map;

/**
 * Created by bjliwei2014 on 2015/2/27.
 */
public interface SysMessageMapper {

    int insert(SysMessage sysMessage);

    int selectCount();

    List<SysMessage> selectList(Map<String, Object> map);

    List<SysMessage> selectByUser(Map<String, Object> map);

    int readMessage(Map<String, Object> map);

    int unReadCount(int userId);

    int delete(int id);
}
